@import url('assets/style/theme.less');
@import url('assets/style/mixin.less');

.distributionTop {
  height: 304px;
  background-size: cover;
  padding: 52px 24px 10px;
  background: linear-gradient(90deg, rgba(255, 132, 0, 1) 0%, rgba(255, 77, 0, 1) 100%);
  border-radius: 0 0 72px 72px;

  // position: relative;
  .content {
    flex-direction: row;

    .topRight {
      justify-content: center;
      width: 1px;
      flex: 1;
    }

    .img {
      margin: 0 24px 0 0;
      width: 112px;
      height: 112px;
      border: 2px solid #ffffff;
      border-radius: 50%;
    }

    .name-bar {
      margin: 0 0 14px 0;
      flex-direction: row;
      align-items: center;
    }

    .name {
      margin: 0 16px 0 0;
      font-size: 36px;
      color: #ffffff;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      max-width: calc(100vw - 380px);
      font-weight: bold;
      // flex: 1;
    }

    .forbidden-box {
      width: 108px;
      height: 36px;
      background: linear-gradient(90deg, rgba(255, 56, 56, 1) 0%, rgba(238, 0, 0, 1) 100%);
      border-radius: 18px;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      margin-left: 16px;

      .forbidden {
        color: #ffffff;
        font-size: 20px;
      }

      .arrow {
        width: 20px;
        height: 20px;
      }
    }

    .box {
      padding: 0 16px;
      height: 36px;
      border-radius: 18px;
      background-image: linear-gradient(90deg, #ffd119, #ffa200);
      flex-direction: row;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      line-height: 36px;
    }

    .red10 {
      font-size: 20px;
      color: #993d00;
    }

    .invite {
      margin: 0 0 12px 0;
      font-size: 20px;
      color: #ffffff;
    }

    .invite-code {
      flex-direction: row;
      align-items: center;

      .white10 {
        margin: 4px 8px 4px 0;
        font-size: 20px;
        color: #ffffff;
      }

      .copy {
        .border(@width:1px; @radius:40px; @color:#ffffff);
        width: 56px;
        height: 28px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      .white8 {
        font-size: 20px;
        color: #ffffff;
        line-height: 1;
      }
    }
  }

  .top-set {
    height: 70px;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
    z-index: 100;
    position: relative;
    // padding-bottom: 30px;
    padding-right: 8px;

    .mess-num {
      width: 30px;
      height: 30px;
      background: rgba(255, 255, 255, 1);
      border-radius: 50%;
      position: absolute;
      font-size: 16px;
      color: #ff6600;
      right: -3px;
      top: 4px;
      line-height: 26px;
      text-align: center;
      padding: 2px;
    }
  }

  .set-img {
    width: 40px;
    height: 40px;
  }
}
